﻿



using System; 
using System.Collections;
using System.Collections.Generic ;
using System.Runtime.Serialization;

namespace ufida.u9.ait.openapi
{
	/// <summary>
	/// 工序AITDTO DTO :REST自定义的数据传输类型 
	/// 
	/// </summary>
	[DataContract(Namespace = "ufida.u9.ait.openapi")]
	[Serializable]
	public partial class OperationAITDTOData  
	{
		/// <summary>
		/// Default Constructor
		/// </summary>
		public OperationAITDTOData()
		{
			initData();
		}
		private void initData()
		{
		
		
		
		
		
		
		
		
		
					SetupTime=0m; 
					RunTime=0m; 
		

			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}
		[System.Runtime.Serialization.OnDeserializing]
		internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
		{
			 initData();
		}
		#region Do SerializeKey -ForDTODataType
		//只为处理集合型EntityKey。原因集合型EntityKey由于使用臫的集合对象，无法实现数据共享.-UBF专用.
		public void DoSerializeKeyList(IDictionary dict)
		{
			if (dict == null ) dict = new Hashtable() ;
			if (dict[this] != null)
				return ;
			dict[this] = this;
	        			if (this.RoutingAITDTO != null) 
			{
				this.RoutingAITDTO.DoSerializeKeyList(dict);
			}
	        			if (this.WorkCenter != null) 
			{
				this.WorkCenter.DoSerializeKeyList(dict);
			}
	        			if (this.TimeUOM != null) 
			{
				this.TimeUOM.DoSerializeKeyList(dict);
			}
	        			if (this.StdOperation != null) 
			{
				this.StdOperation.DoSerializeKeyList(dict);
			}
	        	        			if (this.OutputUOM != null) 
			{
				this.OutputUOM.DoSerializeKeyList(dict);
			}
	        	        	        	        	        	        			if (this.DescFlexField != null) 
			{
				this.DescFlexField.DoSerializeKeyList(dict);
			}

		}
		#endregion 
		/// <summary>
		/// Constructor Full Argument
		/// </summary>
		public OperationAITDTOData(  ufida.u9.ait.openapi.RoutingAITDTOData routingAITDTO  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData workCenter  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData timeUOM  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData stdOperation  , System.String sequence  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData outputUOM  , System.String nextSequence  , System.String preSequence  , System.String description  , System.Decimal setupTime  , System.Decimal runTime  , ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData descFlexField  )
		{
			initData();
			this.RoutingAITDTO = routingAITDTO;
			this.WorkCenter = workCenter;
			this.TimeUOM = timeUOM;
			this.StdOperation = stdOperation;
			this.Sequence = sequence;
			this.OutputUOM = outputUOM;
			this.NextSequence = nextSequence;
			this.PreSequence = preSequence;
			this.Description = description;
			this.SetupTime = setupTime;
			this.RunTime = runTime;
			this.DescFlexField = descFlexField;
		}
		#region System Fields 
		//--系统字段,目前没有.EntityData上有相应的字段,用于保存相关的实体状态信息,DTO上没有状态信息.	
		#endregion
		
		#region DTO Properties 
	
		

		/// <summary>
		/// 工艺路线AITDTO
		/// 工序AITDTO.Misc.工艺路线AITDTO
		/// </summary>
		private ufida.u9.ait.openapi.RoutingAITDTOData m_routingAITDTO ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.RoutingAITDTOData RoutingAITDTO
		{
			get	
			{	
				return m_routingAITDTO ;
			}
			set	
			{	
				m_routingAITDTO = value ;	
			}
		}
			
		

		/// <summary>
		/// 工作中心
		/// 工序AITDTO.Misc.工作中心
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_workCenter ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData WorkCenter
		{
			get	
			{	
				return m_workCenter ;
			}
			set	
			{	
				m_workCenter = value ;	
			}
		}
			
		

		/// <summary>
		/// 时间单位
		/// 工序AITDTO.Misc.时间单位
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_timeUOM ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData TimeUOM
		{
			get	
			{	
				return m_timeUOM ;
			}
			set	
			{	
				m_timeUOM = value ;	
			}
		}
			
		

		/// <summary>
		/// 作业
		/// 工序AITDTO.Misc.作业
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_stdOperation ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData StdOperation
		{
			get	
			{	
				return m_stdOperation ;
			}
			set	
			{	
				m_stdOperation = value ;	
			}
		}
			
		

		/// <summary>
		/// 序号
		/// 工序AITDTO.Misc.序号
		/// </summary>
		private System.String m_sequence ;
		[DataMember(IsRequired=false)]
		public System.String Sequence
		{
			get	
			{	
				return m_sequence ;
			}
			set	
			{	
				m_sequence = value ;	
			}
		}
			
		

		/// <summary>
		/// 产出单位
		/// 工序AITDTO.Misc.产出单位
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_outputUOM ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData OutputUOM
		{
			get	
			{	
				return m_outputUOM ;
			}
			set	
			{	
				m_outputUOM = value ;	
			}
		}
			
		

		/// <summary>
		/// 后工序
		/// 工序AITDTO.Misc.后工序
		/// </summary>
		private System.String m_nextSequence ;
		[DataMember(IsRequired=false)]
		public System.String NextSequence
		{
			get	
			{	
				return m_nextSequence ;
			}
			set	
			{	
				m_nextSequence = value ;	
			}
		}
			
		

		/// <summary>
		/// 前工序
		/// 工序AITDTO.Misc.前工序
		/// </summary>
		private System.String m_preSequence ;
		[DataMember(IsRequired=false)]
		public System.String PreSequence
		{
			get	
			{	
				return m_preSequence ;
			}
			set	
			{	
				m_preSequence = value ;	
			}
		}
			
		

		/// <summary>
		/// 工序说明
		/// 工序AITDTO.Misc.工序说明
		/// </summary>
		private System.String m_description ;
		[DataMember(IsRequired=false)]
		public System.String Description
		{
			get	
			{	
				return m_description ;
			}
			set	
			{	
				m_description = value ;	
			}
		}
			
		

		/// <summary>
		/// 准备工时
		/// 工序AITDTO.Misc.准备工时
		/// </summary>
		private System.Decimal m_setupTime ;
		[DataMember(IsRequired=false)]
		public System.Decimal SetupTime
		{
			get	
			{	
				return m_setupTime ;
			}
			set	
			{	
				m_setupTime = value ;	
			}
		}
			
		

		/// <summary>
		/// 加工工时
		/// 工序AITDTO.Misc.加工工时
		/// </summary>
		private System.Decimal m_runTime ;
		[DataMember(IsRequired=false)]
		public System.Decimal RunTime
		{
			get	
			{	
				return m_runTime ;
			}
			set	
			{	
				m_runTime = value ;	
			}
		}
			
		

		/// <summary>
		/// 描述性弹性域
		/// 工序AITDTO.Misc.描述性弹性域
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData m_descFlexField ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData DescFlexField
		{
			get	
			{	
				return m_descFlexField ;
			}
			set	
			{	
				m_descFlexField = value ;	
			}
		}
			
		#endregion	

		#region Multi_Fields
																								
		#endregion 
	} 	
}
